package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Banner;

import java.util.List;

/**
 * 图片展示
 *
 * @author congcong tao
 * @create 2018/8/7 下午8:13
 */
public interface BannerService extends BaseService<Banner> {

    /**
     * 分页查询
     */
    PageInfo<Banner> pageInfo(Banner banner, int pageSize, int pageNum);
    public List<Banner> list(Banner banner);
}
